package com.bupt.dao;

import com.bupt.bean.Role;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Administrator.
 */
public interface RoleRepository extends JpaRepository<Role,String> {
    //根据账号查询用户信息
    Role findByRoleName(String roleName);

}
